package com.hpe.wx.performance.redis.task;

import org.springframework.stereotype.Component;

@Component
public class TaskTest {
	
	//@Scheduled(cron="0/5 * *  * * ? ")
    public void taskCycle(){
        System.out.println("=========================================a");
    }

	/**
	 * heartbeat, it will execute per 2 seconds
	 */
	//@Scheduled(fixedRate = 1000 * 2)
	public void taskCycle2() {
		System.out.println("The Timer is working");
	}
}
